package com.coconet.gas.vo.response;

import java.util.List;

public class PageList<T> {

    private int pageNum;
    private int pageSize;
    private int lastPage;
    private int total;
    private List<T> list;

    public PageList() {
    }

    public PageList(int pageNum, int pageSize, int lastPage, int total, List<T> list) {
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.lastPage = lastPage;
        this.total = total;
        this.list = list;
    }

    public int getPageNum() {
        return pageNum;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
